package com.dylan.shot.head.shiro;

import com.dylan.shot.common.model.Member;
import org.apache.shiro.authc.SimpleAuthenticationInfo;

/**
 * Created by Dylan on 2017/9/12.
 */
public class MySimpleAuthenticationInfo extends SimpleAuthenticationInfo {

    private Member member;

    public MySimpleAuthenticationInfo(Member member, Object principal, Object credentials, String realmName) {
        super(principal, credentials, realmName);
        this.member = member;
    }

    public Member getMember() {
        return member;
    }

    public void setMember(Member member) {
        this.member = member;
    }
}
